<div class="fui-page fui-page-current page-goods-list">
	<div class='fui-content order-list' style="top:4rem;padding:0.5rem;width:auto">
		<div class='btn btn-banf btn-danger block btn-submit' href="javascript:" ng-click="pagedata.showget=true;pagedata.post={}">添加答题卡</div>
		<div class="fui-cell-group merchgroup" ng-repeat="item in pagedata.list">
            <div class="fui-cell">
                <div class="fui-cell-text" style="margin-top:0.16rem;">
                    <div class="title" style="font-size:0.76rem;padding-bottom:0.2rem"><span>卡号：{{item.codenumber}}</span></div>
					<div class="subtitle" style="font-size:0.7rem">
						密码：{{item.codepassword}}
					</div>
					<div class="subtitle" style="font-size:0.7rem">
						{{item.createtime}}
					</div>
				</div>
				<div class="fui-cell-remark noremark">
					<div class="label label-info">{{item.statustitle}}</div>
				</div>
            </div>
		</div>
		<div ng-if="loading" class='infinite-loading'><span class='fui-preloader'></span><span style="margin-left:1.5rem"> 正在加载...</span></div>
		<div class="content-empty" ng-if="pagedata.list.length <1">
		  <i class="icon icon-cry" style="width: 6rem;margin-bottom: 0.5rem;"></i><div style="color: #999;font-size: .75rem">您暂时没有答题卡！</div>
		</div>
    </div>
</div>
<div ng-if="pagedata.showget" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			<i class="closed icon icon-cuowu" ng-click="pagedata.showget=false"></i>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 2rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在进行添加《答题卡》操作
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-bussinesscard" style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="答题卡号" ng-model="pagedata.post.codenumber"></div>
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'><i class="icon icon-mima"  style="font-size:0.8rem"></i></div>
					<div class='fui-cell-info'><input type='text' class='fui-input' placeholder="密码" ng-model="pagedata.post.codepassword"></div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post(pagedata.post,'/card/get/')">确认领取</a>
			</div>
		</div>
	</div>
</div>
<div ng-if="pagedata.showbang" class="popup">
	<div class="popup-body">
		<div class="popup-center" style="background:#fc6d60">
			<i class="closed icon icon-cuowu" ng-click="pagedata.showbang=false"></i>
			<style>
				input{ caret-color: #fff}
				.fui-cell-group .fui-cell .fui-cell-info  ::-webkit-input-placeholder{
					color: #fff
				}
				.fui-cell-group .fui-cell .fui-cell-info {
					font-size: 0.85rem;
					color: #fff;
				}
			</style>
			 <div class='fui-cell-group fui-cell-group-o' style="margin:0.5rem 1.5rem;padding-top:0.5rem;background:#fc6d60">
				<div class='fui-cell-title c' style="color:#fff">您正在进行《答题卡绑定题库》操作
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'>题库：</div>
					<div class='fui-cell-info'>{{pagedata.tizu.title}}</div>
				</div>
				<div class='fui-cell'>
					<div class='fui-cell-label big' style='width:auto;color:#fff'>答题卡：</div>
					<div class='fui-cell-info'>
					<input type='text' class='fui-input' placeholder="答题卡号" ng-model="pagedata.tizu.codenumber">
					</div>
				</div>
			</div>
			<div class="weui_btn_area" style="margin:2rem;">
				<a class='weui_btn weui_btn_primary' style="border-radius:1rem;background-color:#fff;color:#fc6d60" ng-click="post(pagedata.tizu,'/card/tizu/')">确认绑定</a>
			</div>
		</div>
	</div>
</div>
<div ng-include="sys_html('common/pluginnav',true)"></div>